package com.gitee.feizns.data.impl;

import com.gitee.feizns.data.Column;
import lombok.Builder;

/**
 * @author feizns
 * @since 2019/7/6 0006
 */
@Builder
public class ColumnImpl implements Column {

    private String name;

    private boolean isNullable;

    private String comment;

    private String typeName;

    private boolean isAuto;

    private Integer charLength;

    @Override
    public String getName() {
        return name;
    }

    @Override
    public boolean isNullable() {
        return isNullable;
    }

    @Override
    public boolean isAuto() {
        return isAuto;
    }

    @Override
    public String typeName() {
        return typeName;
    }

    @Override
    public Integer charLength() {
        return charLength;
    }

    @Override
    public String getComment() {
        return comment;
    }

}
